import request from '@/utils/request'


export function findMenuLists(pId){
  return request({
      url: 'menu/lists/'+pId,
      method: 'get'
    })
}

export function saveMenu(data){
  return request({
    url: 'menu/save',
    method: 'post',
    data
  })
}


export function menus(){

  return request({
    url: 'menu/menus',
    method: 'get'
  })
}
